package de.reondo.jos.filters;

public final class Bool {

	public static <T> IFilter<T> and(IFilter<T> filter1, IFilter<T> filter2) {
		return new AndFilter<T>(filter1, filter2);
	}
	
	public static <T> IFilter<T> or(IFilter<T> filter1, IFilter<T> filter2) {
		return new OrFilter<T>(filter1, filter2);
	}
	
	public static <T> IFilter<T> not(IFilter<T> filter) {
		return new NotFilter<T>(filter);
	}
	
}
